<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="16.css" />
  </head>
  <body>
    <main>
      <label for="stu">学生</label>
      <input type="radio" name="role" id="stu" />
      <label for="teacher">老师</label>
      <input type="radio" name="role" id="teacher" />

      <div name="stu">学生姓名：　<input type="text" /></div>

      <div name="teacher">老师姓名：　<input type="text" /></div>
    </main>
  </body>
</html>
